package com.example.plan.model.vo;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.awt.*;

/**
 * @ClassName SaveUserAddressDTO
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/3/16 14:34
 * @Version 1.0
 */
@Data
@ApiModel(value = "UserAddressVO",description = "用户地址信息")
public class UserAddressVO {
    @ApiModelProperty(value = "地址ID,修改时必传")
    private Long address_id;

    @ApiModelProperty(value = "用户ID,修改时必传")
    private Long user_id;

    @ApiModelProperty(value = "收货人姓名")
    private String recipient_name;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "详细地址")
    private String detail_address;

    @ApiModelProperty(value = "是否默认地址")
    private Integer is_default;

    @ApiModelProperty(value = "坐标信息")
    private String coordinates; // 修改为String类型
}
